LearningDataModel.SessionTime Property

Gets or sets the session time for the current session of the RLO.

Parent Type: LearningDataModel

Namespace: Microsoft.LearningComponents.DataModel

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public TimeSpan SessionTime

{ get; set; }
Exceptions
Exception type Condition
InvalidOperationException

Thrown if this LearningDataModel object cannot be written to.

Remarks

In SCORM 2004, this corresponds to cmi.session_time.

In SCORM 1.2, this corresponds to cmi.core.session_time.

This value represents the amount of time spent in the current attempt on the RLO. The RLO is responsible for setting this value, this is never automatically generated.